local skill = fk.CreateSkill {
  name = "#lvs__whitehorse_skill",
  tags = { Skill.Compulsory },
  attached_equip = "lvs__whitehorse",
}

skill:addEffect("distance", {
  correct_func = function(self, from, to)
    local n = 0
    if from:hasSkill(skill.name) and from.hp > 2 then
      n = n - 1
    end
    if to:hasSkill(skill.name) then
      n = n + 1
    end
    return n
  end,
})

return skill